package com.vayne.injectdemo;

import com.vayne.bean.Course;

/**
 * @author xuerui.zhang
 * @since 2020/4/13 下午9:40
 */
public class CourseHolder {

    private Course course;

    public CourseHolder() {}

    public CourseHolder(Course course) {
        this.course = course;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "CourseHolder{" + "course=" + course + '}';
    }
}
